﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


/**
* @Author: AdinZ
* @Q  Q : 1454269
* @Email:adinz@adinz.com
* @Created: 2014/3/31 17:58:31
*
* */
namespace Novel.Sys.Model
{
   public class SiteConfig
    {
        //系统设置
        private string _webname;
        private string _installdir;
        private int _urlmode;
        private string _templatecache;
        private string _webpagecache;
        private string _cachekey;
        private string _cachetime;
        private string _templatedir;
        private string _fileHost;
        private string _siteHost;
        private string _keyword;
        private string _description;

        public string Description
        {
            get { return _description; }
            set { _description = value; }
        }

        public string Keyword
        {
            get { return _keyword; }
            set { _keyword = value; }
        }

        public string SiteHost
        {
            get { return _siteHost; }
            set { _siteHost = value; }
        }

       /// <summary>
       /// 文件网址
       /// </summary>
        public string FileHost
        {
            get { return _fileHost; }
            set { _fileHost = value; }
        }

        //伪静态
        private string _rewritechannelprefix;
        private string _rewritespecialprefix;
        private string _rewritecontentprefix;
        private string _rewriteguestbookprefix;

        private string _remoteimgdown;
        private string _upfiletype;
        private string _upfilenaxsize;

        //SEO
        private string _autodescription;
        private string _seotitle;
        private string _indexkeywords;
        private string _indexdescription;

        //个性设置
        private string _pagelistnum;
        private string _imageseconds;

        private int _userType;
        private int _userRank;
        private int _userScores;



        #region Model-系统设置
        /// <summary>
        /// 
        /// </summary>
        public string WebName
        {
            set
            {
                _webname = value;
            }
            get
            {
                return _webname;
            }
        }

        /// <summary>
        /// 
        /// </summary>
        public string InstallDir
        {
            set
            {
                _installdir = value;
            }
            get
            {
                return _installdir;
            }
        }

        /// <summary>
        /// 
        /// </summary>
        public int UrlMode
        {
            set
            {
                _urlmode = value;
            }
            get
            {
                return _urlmode;
            }
        }

        /// <summary>
        /// 
        /// </summary>
        public string TemplateCache
        {
            set
            {
                _templatecache = value;
            }
            get
            {
                return _templatecache;
            }
        }

        /// <summary>
        /// 
        /// </summary>
        public string WebPageCache
        {
            set
            {
                _webpagecache = value;
            }
            get
            {
                return _webpagecache;
            }
        }

        /// <summary>
        /// 
        /// </summary>
        public string CacheKey
        {
            set
            {
                _cachekey = value;
            }
            get
            {
                return _cachekey;
            }
        }

        /// <summary>
        /// 
        /// </summary>
        public string CacheTime
        {
            set
            {
                _cachetime = value;
            }
            get
            {
                return _cachetime;
            }
        }

        /// <summary>
        /// 
        /// </summary>
        public string TemplateDir
        {
            set
            {
                _templatedir = value;
            }
            get
            {
                return _templatedir;
            }
        }

        /// <summary>
        /// 
        /// </summary>
        public string RewriteChannelPrefix
        {
            set
            {
                _rewritechannelprefix = value;
            }
            get
            {
                return _rewritechannelprefix;
            }
        }
        /// <summary>
        /// 
        /// </summary>
        public string RewriteSpecialPrefix
        {
            set
            {
                _rewritespecialprefix = value;
            }
            get
            {
                return _rewritespecialprefix;
            }
        }
        /// <summary>
        /// 
        /// </summary>
        public string RewriteContentPrefix
        {
            set
            {
                _rewritecontentprefix = value;
            }
            get
            {
                return _rewritecontentprefix;
            }
        }
        /// <summary>
        /// 
        /// </summary>
        public string RewriteGuestbookPrefix
        {
            set
            {
                _rewriteguestbookprefix = value;
            }
            get
            {
                return _rewriteguestbookprefix;
            }
        }

        /// <summary>
        /// 
        /// </summary>
        public string RemoteImgDown
        {
            set
            {
                _remoteimgdown = value;
            }
            get
            {
                return _remoteimgdown;
            }
        }

        /// <summary>
        /// 
        /// </summary>
        public string UpFileType
        {
            set
            {
                _upfiletype = value;
            }
            get
            {
                return _upfiletype;
            }
        }

        /// <summary>
        /// 
        /// </summary>
        public string UpFileMaxSize
        {
            set
            {
                _upfilenaxsize = value;
            }
            get
            {
                return _upfilenaxsize;
            }
        }
        #endregion

        #region Model-SEO
        /// <summary>
        /// 
        /// </summary>
        public string AutoDescription
        {
            set
            {
                _autodescription = value;
            }
            get
            {
                return _autodescription;
            }
        }

        /// <summary>
        /// 
        /// </summary>
        public string SeoTitle
        {
            set
            {
                _seotitle = value;
            }
            get
            {
                return _seotitle;
            }
        }

        /// <summary>
        /// 
        /// </summary>
        public string IndexKeywords
        {
            set
            {
                _indexkeywords = value;
            }
            get
            {
                return _indexkeywords;
            }
        }

        /// <summary>
        /// 
        /// </summary>
        public string IndexDescription
        {
            set
            {
                _indexdescription = value;
            }
            get
            {
                return _indexdescription;
            }
        }
        #endregion

        #region Model-个性设置
        /// <summary>
        /// 
        /// </summary>
        public string PageListNum
        {
            set
            {
                _pagelistnum = value;
            }
            get
            {
                return _pagelistnum;
            }
        }

        /// <summary>
        /// 
        /// </summary>
        public string ImageSeconds
        {
            set
            {
                _imageseconds = value;
            }
            get
            {
                return _imageseconds;
            }
        }
        #endregion



        #region 会员设置
        /// <summary>
        /// 会员类别
        /// </summary>
        public int UserType
        {
            get { return _userType; }
            set { _userType = value; }
        }
        /// <summary>
        /// 会员排名
        /// </summary>
        public int UserRank
        {
            get { return _userRank; }
            set { _userRank = value; }
        }
        /// <summary>
        /// 会员积分
        /// </summary>
        public int UserScores
        {
            get { return _userScores; }
            set { _userScores = value; }
        }
        #endregion

    }
}
